home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 49
/
Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso
/
-serious-
/
misc
/
shellscr
/
src
/
eglobs.e
< prev
next >
Wrap
Text File
|
1999-11-30
|
453b
|
23 lines
-> discovers offsets of standard E globals
-> Use this to create eglobs.i, or such.
PROC main()
DEF a4, n:PTR TO LONG
MOVE.L A4,a4
n:=[
'stdout', {stdout},
'conout', {conout},
'stdin', {stdin},
'arg', {arg},
'stdrast', {stdrast},
'wbmessage', {wbmessage},
'execbase', {execbase},
'dosbase', {dosbase},
'intuibase', {intuitionbase},
'gfxbase', {gfxbase},
NIL]
WHILE n[] DO WriteF('\s=\d\n', n[]++, n[]++ - a4)
ENDPROC